public class Parent {
    String name;
    public Parent(){}
    public Parent(String name){
        this.name = name;
    }

    public void sayHello(){
        System.out.println("I am" + name);
    }
}
